$font_name: 'erikos', 'Helvetica Neue', Helvetica, Arial, 'Hiragino Sans GB', 'Hiragino Sans GB W3',
  'WenQuanYi Micro Hei', sans-serif;
$big_size: 18px;
$radius: 18px;

@mixin mainBox {
  width: calc(100% - 120px);
  margin: 0 auto;
  position: relative;
}
@mixin box {
  box-sizing: border-box;
}

@mixin after($both) {
  content: '';
  display: block;
  @if $both == both {
    clear: both;
  }
}
@mixin center($width, $height) {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -$width/2;
  margin-top: -$height/2;
}

/* 使背景全屏 */
main {
  /* 使背景全屏 */

  height: 36px;
  background-color: #fff;
  top: 0;
  text-align: center;
  font-family: $font_name;
  background-color: #fff;
  border-bottom: 1px solid #111111;
}

.el-menu-demo,.el-sub-menu {
  font-family: $font_name;
  background-color: #fff;
  height: 36px;
}

.el-menu-item {
  padding: 0 10px;
  font-weight: bolder;
  line-height: 36px;
  font-size: 18px;
}

.el-sub-menu {
  font-weight: bolder;
  font-family: $font_name;
  font-size: 18px;
}

.el-menu-item.is-active {
  &::after {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    border: 3px solid #ffd03f !important;
    background-color: #fff !important;
    z-index: -1;
    transform: scale(0);
    transition: transform 0.15s cubic-bezier(0.18, 1.29, 0.89, 1.24);
  }
  &:hover {
    color: #111111;
    text-decoration: none;
    &::after {
      transform: scale(1);
    }
  }
}

img {
  width: 20px;
  height: 20px;
  margin-left: 50px;
  margin-right: 10px;
  margin-top: 10px;
}
